<?php

declare (strict_types=1);
namespace App\Model;

/**
 * @property int $id 
 * @property string $path 
 * @property string $component 
 * @property string $title 
 * @property string $icon 
 * @property string $name 
 * @property int $hidden 
 * @property int $always_show 
 * @property string $redirect 
 * @property int $sort 
 * @property int $pid 
 * @property int $show_status 
 * @property int $create_time 
 */
class AdminMenu extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'admin_menu';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['id', 'path', 'component', 'title', 'icon', 'name', 'hidden', 'always_show', 'redirect', 'sort', 'pid', 'show_status', 'create_time'];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'hidden' => 'integer', 'always_show' => 'integer', 'sort' => 'integer', 'pid' => 'integer', 'show_status' => 'integer', 'create_time' => 'integer'];
}